<base target="_self"/>
<script>
	function done() {
		window.returnValue="abc";
		window.close();
	}
</script>
<a href="http://www.baidu.com">Baidu</a>
<input type="button" value="Buntton" onclick="done()"/>